package org.jeecg.modules.nikeProject.mapper;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.nikeProject.entity.News;
import org.jeecg.modules.nikeProject.entity.vo.NewsVO;

/**
 * @Description: 文章内容表
 * @Author: jeecg-boot
 * @Date:   2025-03-07
 * @Version: V1.0
 */
public interface NewsMapper extends BaseMapper<News> {
    List<NewsVO> getHisCaseList(@Param("params")Map<String, Object> params, @Param("ids") List<String> ids);

    int getTotal(@Param("params")Map<String, Object> params, @Param("ids") List<String> ids);

    List<NewsVO> selectByPage(@Param("params")Map<String, Object> params);
}
